package cn.springmvc.dao;

import cn.springmvc.model.Step8;
import cn.springmvc.model.Step8Example;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface Step8Mapper {
    int countByExample(Step8Example example);

    int deleteByExample(Step8Example example);

    int deleteByPrimaryKey(Integer id);

    int insert(Step8 record);

    int insertSelective(Step8 record);

    List<Step8> selectByExample(Step8Example example);

    Step8 selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Step8 record, @Param("example") Step8Example example);

    int updateByExample(@Param("record") Step8 record, @Param("example") Step8Example example);

    int updateByPrimaryKeySelective(Step8 record);

    int updateByPrimaryKey(Step8 record);
    
    List<Step8> getStep8ByNianfen(@Param("year")int year);
    Step8 getStep8ByNameAndNianfen(@Param("year")int year,@Param("name")String name);
}